import time
import datetime
from coin.exchange.base.kr_rest.py_product import PyProduct


prod = PyProduct.from_norm('Spot:Mexc:1INCH-USDT', time.time_ns())

try:
  x = prod.search_product_holder(7)
except Exception as e:
  print(e)
else:
  print(prod)
  print(x)
  print("find success ", prod.symbol, prod.native_symbol, prod.exchange_name)

# bazel build -c opt --strip=always //cc/appcoin2/support/symbology:py_symbology.so
# run
# cd ~/workspace/coin/python/
# ./pyrunner script/tool/symbol_test.py
